home *** CD-ROM | disk | FTP | other *** search
- Short: Beta AmiTCP mods for Amiga E
- Author: jason@fsel.com (Jason R. Hulance)
- Type: dev/e
-
- AmiTCP modules for Amiga E
- ==========================
-
- This is pretty much a beta release of these modules, since I've had no
- bug reports on the last version (which was some time ago). I'm still
- in the rather poor position of not actually running AmiTCP myself, so
- I am reliant on those who are...
-
- The sources are included but, as ever, they are just for reference.
- In particular, you shouldn't try compiling the sources as some of the
- modules have had to be fiddled with to get unions etc. (and this will
- affect not just the module with the fiddle in it, but all those that
- use it).
-
- The big difference over the last version is that one of the bitfield
- operations has been corrected (Wouter's documentation mislead me, but
- there's no real excuse for me not testing that bit!), and there is now
- some initialisation code. This was present in the net.lib link
- library of the SAS/C version, so I guess it might be pretty important.
- The rest of net.lib has not yet been ported to E (unless someone knows
- different...). I may start working on it but, again, I'm hardly the
- best person to do this, not having AmiTCP running on my Amiga!
-
- To use the initialisation do something like this:
-
- MODULE 'amitcp/init/amitcp_init'
-
- PROC main() HANDLE
- -> AmiTCP: initialise everything
- amitcp_init()
-
- -> Your code
-
- EXCEPT DO
-
- -> Your cleanup code
-
- -> AmiTCP: cleanup everything
- amitcp_cleanup()
- ENDPROC
-
- The initialisation code opens the 'bsdsocket' and 'usergroup'
- libraries, initialises I/O variables and opens a timer. It also sets
- up various other arrays. If you want your can just use the bits you
- need from the 'amitcp/init' directory. It should be fairly
- self-explanatory.
-
- Anyway, the key thing is this: if you use one of the init routines
- (e.g., amitcp_init() for the whole lot), then you must make sure you
- match it with the corresponding cleanup call (amitcp_cleanup() for
- amitcp_init()). I'd advise that you use the exception handling method
- shown above. Also, your program should *NEVER* use E's CleanUp()
- function, as this terminates your program immediately and gives it no
- chance to perform its own cleanup.
-
- Have fun!
-
- Jason (jason@fsel.com)
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 2184 1113 49.0% 13-Aug-96 08:39:56 AmiTCP.beta.readme
- 1220 462 62.1% 11-Aug-96 19:15:16 +socketbasetags.m
- 558 303 45.6% 11-Aug-96 19:15:18 +types.m
- 1136 597 47.4% 11-Aug-96 19:15:18 +ftp.m
- 4512 1398 69.0% 11-Aug-96 19:15:18 +nameser.m
- 6078 2697 55.6% 11-Aug-96 19:15:20 +telnet.m
- 320 188 41.2% 11-Aug-96 19:15:58 +tftp.m
- 626 405 35.3% 11-Aug-96 19:15:04 +charread.m
- 396 227 42.6% 11-Aug-96 19:15:20 +socket_inlines.m
- 774 415 46.3% 11-Aug-96 19:15:22 +netinfo.m
- 2912 1271 56.3% 11-Aug-96 19:15:22 +sana2.m
- 136 89 34.5% 11-Aug-96 19:15:22 +sana2specialstats.m
- 54 43 20.3% 11-Aug-96 19:15:04 +errno.m
- 716 343 52.0% 11-Aug-96 19:15:04 +fcntl.m
- 108 82 24.0% 11-Aug-96 19:15:06 +grp.m
- 476 289 39.2% 11-Aug-96 19:15:06 +inetd.m
- 854 328 61.5% 11-Aug-96 19:21:46 +amitcp_init.m
- 1066 610 42.7% 11-Aug-96 19:21:44 +autoinit.m
- 384 293 23.6% 11-Aug-96 19:21:44 +dosio_init.m
- 1000 625 37.5% 11-Aug-96 19:21:44 +init_usergroup.m
- 1490 929 37.6% 11-Aug-96 19:21:44 +timerinit.m
- 54 44 18.5% 11-Aug-96 19:15:06 +ios1.m
- 700 372 46.8% 11-Aug-96 19:15:22 +usergroup.m
- 384 227 40.8% 11-Aug-96 19:15:56 +lineread.m
- 662 336 49.2% 11-Aug-96 19:15:58 +if.m
- 560 302 46.0% 11-Aug-96 19:15:24 +if_arp.m
- 298 198 33.5% 11-Aug-96 19:15:24 +if_dl.m
- 252 144 42.8% 11-Aug-96 19:15:24 +if_types.m
- 1544 775 49.8% 11-Aug-96 19:15:26 +route.m
- 230 115 50.0% 11-Aug-96 19:15:26 +sana2tags.m
- 658 320 51.3% 11-Aug-96 19:15:08 +netdb.m
- 1430 578 59.5% 11-Aug-96 19:15:26 +in.m
- 56 46 17.8% 11-Aug-96 19:15:28 +in_systm.m
- 2786 1049 62.3% 11-Aug-96 19:16:00 +ip.m
- 1400 620 55.7% 11-Aug-96 19:15:58 +ip_icmp.m
- 1688 666 60.5% 11-Aug-96 19:15:28 +ip_var.m
- 1112 488 56.1% 11-Aug-96 19:15:30 +tcp.m
- 110 74 32.7% 11-Aug-96 19:15:30 +udp.m
- 666 403 39.4% 11-Aug-96 19:16:00 +dumprestore.m
- 762 448 41.2% 11-Aug-96 19:16:00 +routed.m
- 418 247 40.9% 11-Aug-96 19:15:32 +rwhod.m
- 690 348 49.5% 11-Aug-96 19:15:32 +talkd.m
- 1442 703 51.2% 11-Aug-96 19:16:00 +timed.m
- 150 103 31.3% 11-Aug-96 19:15:08 +pwd.m
- 1342 588 56.1% 11-Aug-96 19:16:02 +auth.m
- 256 175 31.6% 11-Aug-96 19:15:34 +auth_unix.m
- 1908 862 54.8% 11-Aug-96 19:16:02 +clnt.m
- 410 209 49.0% 11-Aug-96 19:15:36 +pmap_prot.m
- 262 144 45.0% 11-Aug-96 19:15:36 +pmap_rmt.m
- 102 75 26.4% 11-Aug-96 19:15:36 +rpc.m
- 864 411 52.4% 11-Aug-96 19:16:00 +rpc_msg.m
- 1320 582 55.9% 11-Aug-96 19:15:38 +svc.m
- 82 69 15.8% 11-Aug-96 19:15:38 +types.m
- 2126 725 65.8% 11-Aug-96 19:15:38 +xdr.m
- 842 383 54.5% 11-Aug-96 19:15:40 +bootparam_prot.m
- 3432 1240 63.8% 11-Aug-96 19:15:40 +nfs_prot.m
- 2092 713 65.9% 11-Aug-96 19:15:42 +nlm_prot.m
- 1934 894 53.7% 11-Aug-96 19:15:42 +rex.m
- 472 223 52.7% 11-Aug-96 19:15:42 +rnusers.m
- 532 291 45.3% 11-Aug-96 19:15:44 +rquota.m
- 1154 370 67.9% 11-Aug-96 19:15:44 +rstat.m
- 628 289 53.9% 11-Aug-96 19:15:44 +sm_inter.m
- 336 195 41.9% 11-Aug-96 19:15:44 +spray.m
- 2874 1028 64.2% 11-Aug-96 19:16:02 +yp.m
- 292 182 37.6% 11-Aug-96 19:15:46 +yppasswd.m
- 2092 844 59.6% 11-Aug-96 19:15:08 +stdio.m
- 1278 624 51.1% 11-Aug-96 19:15:46 +errno.m
- 1116 542 51.4% 11-Aug-96 19:15:48 +ioctl.m
- 930 414 55.4% 11-Aug-96 19:15:48 +param.m
- 2454 1093 55.4% 11-Aug-96 19:15:48 +socket.m
- 986 422 57.2% 11-Aug-96 19:15:50 +stat.m
- 2540 1179 53.5% 11-Aug-96 19:15:50 +syslog.m
- 604 291 51.8% 11-Aug-96 19:16:02 +time.m
- 906 413 54.4% 11-Aug-96 19:15:50 +types.m
- 88 67 23.8% 11-Aug-96 19:15:10 +utime.m
- 402 203 49.5% 11-Aug-96 19:15:56 +utmp.m
- 344 200 41.8% 12-Aug-96 07:07:28 +bitfield.m
- 228 170 25.4% 12-Aug-96 07:07:40 +setprogname.m
- 1303 436 66.5% 18-Mar-96 17:09:40 +socketbasetags.e
- 190 122 35.7% 18-Mar-96 17:10:24 +types.e
- 877 422 51.8% 11-Aug-96 12:37:06 +ftp.e
- 0 0 0.0% 07-Mar-96 19:11:06 +inet.e
- 3394 947 72.0% 24-Mar-96 19:19:04 +nameser.e
- 4661 1645 64.7% 11-Aug-96 12:44:00 +telnet.e
- 289 213 26.2% 09-Mar-96 21:14:14 +tftp.e
- 0 0 0.0% 06-Mar-96 20:33:08 +bsdsocket.e
- 713 350 50.9% 24-Mar-96 18:37:08 +charread.e
- 471 222 52.8% 24-Mar-96 20:10:38 +socket_inlines.e
- 832 398 52.1% 24-Mar-96 19:18:32 +netinfo.e
- 3016 1120 62.8% 10-Mar-96 17:01:46 +sana2.e
- 126 85 32.5% 10-Mar-96 17:05:14 +sana2specialstats.e
- 41 41 0.0% 24-Mar-96 18:25:26 +errno.e
- 665 283 57.4% 11-Aug-96 10:39:32 +fcntl.e
- 158 120 24.0% 17-Mar-96 18:03:16 +grp.e
- 557 307 44.8% 24-Mar-96 19:30:32 +inetd.e
- 596 226 62.0% 11-Aug-96 19:19:40 +amitcp_init.e
- 1063 490 53.9% 11-Aug-96 19:19:40 +autoinit.e
- 436 267 38.7% 11-Aug-96 19:19:40 +dosio_init.e
- 1300 609 53.1% 11-Aug-96 19:19:40 +init_usergroup.e
- 2078 849 59.1% 11-Aug-96 19:19:40 +timerinit.e
- 43 43 0.0% 06-Mar-96 19:16:36 +ios1.e
- 914 419 54.1% 24-Mar-96 19:18:12 +usergroup.e
- 530 288 45.6% 17-Mar-96 18:14:00 +lineread.e
- 758 373 50.7% 24-Mar-96 20:10:08 +if.e
- 510 277 45.6% 11-Mar-96 19:24:12 +if_arp.e
- 310 209 32.5% 17-Mar-96 18:36:28 +if_dl.e
- 284 133 53.1% 11-Mar-96 19:36:26 +if_types.e
- 1303 666 48.8% 24-Mar-96 15:42:46 +route.e
- 0 0 0.0% 11-Mar-96 20:04:52 +sana2errno.e
- 249 117 53.0% 11-Mar-96 20:07:42 +sana2tags.e
- 677 289 57.3% 06-Mar-96 20:45:56 +netdb.e
- 1589 558 64.8% 24-Mar-96 19:17:44 +in.e
- 55 55 0.0% 17-Mar-96 18:47:24 +in_systm.e
- 2371 856 63.8% 17-Mar-96 18:55:42 +ip.e
- 1459 582 60.1% 24-Mar-96 20:18:44 +ip_icmp.e
- 1209 487 59.7% 24-Mar-96 20:11:08 +ip_var.e
- 732 350 52.1% 24-Mar-96 19:26:14 +tcp.e
- 92 73 20.6% 12-Mar-96 19:45:06 +udp.e
- 857 483 43.6% 24-Mar-96 18:58:12 +dumprestore.e
- 708 412 41.8% 11-Aug-96 12:46:30 +routed.e
- 390 240 38.4% 13-Mar-96 21:31:48 +rwhod.e
- 629 332 47.2% 13-Mar-96 21:36:30 +talkd.e
- 1060 489 53.8% 11-Aug-96 12:47:22 +timed.e
- 211 129 38.8% 17-Mar-96 19:31:28 +pwd.e
- 1366 542 60.3% 24-Mar-96 19:24:48 +auth.e
- 304 207 31.9% 17-Mar-96 19:39:46 +auth_unix.e
- 1949 740 62.0% 17-Mar-96 19:45:28 +clnt.e
- 0 0 0.0% 14-Mar-96 19:36:12 +gst.e
- 0 0 0.0% 14-Mar-96 19:36:44 +pmap_clnt.e
- 347 176 49.2% 24-Mar-96 19:13:32 +pmap_prot.e
- 294 172 41.4% 24-Mar-96 20:11:58 +pmap_rmt.e
- 97 84 13.4% 14-Mar-96 19:44:50 +rpc.e
- 780 386 50.5% 17-Mar-96 19:54:24 +rpc_msg.e
- 1441 508 64.7% 17-Mar-96 20:00:32 +svc.e
- 0 0 0.0% 14-Mar-96 20:02:38 +svc_auth.e
- 80 74 7.5% 17-Mar-96 19:51:26 +types.e
- 2447 707 71.1% 24-Mar-96 20:16:46 +xdr.e
- 869 352 59.4% 24-Mar-96 19:12:08 +bootparam_prot.e
- 0 0 0.0% 18-Mar-96 17:49:14 +klm_prot.e
- 0 0 0.0% 18-Mar-96 17:49:28 +mount.e
- 3047 982 67.7% 24-Mar-96 19:24:26 +nfs_prot.e
- 1668 546 67.2% 24-Mar-96 19:24:00 +nlm_prot.e
- 2075 799 61.4% 18-Mar-96 19:33:18 +rex.e
- 452 214 52.6% 18-Mar-96 19:36:58 +rnusers.e
- 446 256 42.6% 18-Mar-96 19:42:04 +rquota.e
- 1068 324 69.6% 19-Mar-96 20:19:04 +rstat.e
- 574 259 54.8% 24-Mar-96 11:27:56 +sm_inter.e
- 309 181 41.4% 24-Mar-96 11:30:24 +spray.e
- 2847 867 69.5% 24-Mar-96 11:50:32 +yp.e
- 310 167 46.1% 24-Mar-96 11:52:24 +yppasswd.e
- 0 0 0.0% 06-Mar-96 20:52:06 +stat.e
- 1904 762 59.9% 11-Aug-96 12:25:58 +stdio.e
- 0 0 0.0% 24-Mar-96 12:01:40 +cdefs.e
- 900 422 53.1% 24-Mar-96 12:10:36 +errno.e
- 0 0 0.0% 24-Mar-96 12:10:52 +file.e
- 1635 569 65.1% 25-Mar-96 17:50:10 +ioctl.e
- 662 324 51.0% 24-Mar-96 15:40:08 +param.e
- 2132 892 58.1% 24-Mar-96 19:30:34 +socket.e
- 1165 445 61.8% 24-Mar-96 19:10:58 +stat.e
- 2969 857 71.1% 11-Aug-96 12:49:08 +syslog.e
- 593 290 51.0% 24-Mar-96 19:11:46 +time.e
- 859 359 58.2% 24-Mar-96 19:04:16 +types.e
- 0 0 0.0% 06-Mar-96 21:21:58 +syslog.e
- 0 0 0.0% 24-Mar-96 18:08:54 +unistd.e
- 123 100 18.6% 24-Mar-96 18:09:52 +utime.e
- 491 239 51.3% 17-Mar-96 20:18:18 +utmp.e
- 388 185 52.3% 12-Aug-96 07:08:06 +bitfield.e
- 315 207 34.2% 12-Aug-96 07:08:00 +setprogname.e
- -------- ------- ----- --------- --------
- 158892 68629 56.8% 04-Oct-96 18:40:00 168 files
-